package com.im.service.domain.vo;

import com.im.service.domain.entity.ImUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author liuzhiqiang
 */
@Data
@ApiModel(value = "OrgVO", description = "OrgVO")
public class OrgVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("组织名称")
    private String orgName;

    @ApiModelProperty("子组织")
    private List<OrgVO> children;

    @ApiModelProperty("组织用户")
    private List<ImUser> users;


}
